function Loss   = v3_LossFunction(ParametersIn, RealMoments, MomentCovar)

SimMoments  = v3_Moments(ParametersIn);

Loss        = (RealMoments - SimMoments)' * inv(MomentCovar) * (RealMoments - SimMoments);

return
